package com.qdxwx.data.service.user;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.user.UserVitae;
import com.qdxwx.models.user.UserVitaeQuery;

import java.util.List;

public interface UserVitaeService {

    int insert(UserVitae userVitae);

    UserVitae get(int id);

    UserVitae getByUserId(long userId);

    List<UserVitae> getList(UserVitaeQuery query, PageRequest page);

    int count(UserVitaeQuery query);

    int updata(UserVitae userVitae);

    int updateVitaePath(UserVitae userVitae);

    int delete(int id);
}
